<template>
  <div id="app">
    <router-view />
    <order-dialog v-if="!show" />
  </div>
</template>

<script>
import OrderDialog from '@/components/orderDialog'
export default {
  name: 'App',
  components: {
    OrderDialog
  },
  computed: {
    show() {
      return (this.$route.path === '/login' || this.$route.path === '/404')
    }
  }
}
</script>

